package javase.thread;

import javafx.print.Collation;

import javax.lang.model.element.VariableElement;
import java.awt.event.ItemEvent;
import java.text.Collator;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;

/**
 * @author LiShaowen
 * @date 2020/9/4 21:07
 */
public class Lambda {
    public static void main(String[] args) {
        new Thread(() -> {
            for (int i = 0; i < 10; i++) {
                System.out.println("一边敲代码");
            }
        }).start();
        new Thread(() -> {
            for (int i = 0; i < 10; i++) {
                System.out.println("一边崩溃中");
            }
        }).start();

    }


}
